<input type="hidden" id="lat" value="<?php echo $this->device['lat']; ?>" />
<input type="hidden" id="lng" value="<?php echo $this->device['lng']; ?>" />

<div id="map"></div>
<p>Name: <?php echo $this->device['name']; ?></p>
<p>IP: <?php echo $this->device['ip']; ?></p>
<p>Description: <?php echo $this->device['description']; ?></p>
<p>Type: <?php echo $this->device['typeName']; ?></p>
<p>Status: <?php echo ($this->device['enabled'] == 1) ? 'Enabled' : 'Disabled'; ?></p>
<p>Address: <?php echo ($this->device['address'] == '') ? 'N/A' : $this->device['address']; ?></p>
<p>Location: <?php echo $this->device['lng']; ?>, <?php echo $this->device['lat']; ?></p>